package pers.wy.sell.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import pers.wy.sell.domain.OrderDetail;

import java.util.List;

/**
 * @Author: 月落
 * @Date: Created in 16:11 2018/9/5
 */
public interface OrderDetailDao extends JpaRepository<OrderDetail, String> {

    /**
     * 查询订单详情
     *
     * @param orderId
     * @return
     */
    List<OrderDetail> findByOrderId(String orderId);

}
